Circuits and methods for clock signal duty-cycle correction

ABSTRACT

Duty-cycle correction circuits, clock distribution networks, and methods for correcting duty-cycle distortion are disclosed, including methods and apparatus for correcting duty-cycle distortion of differential output clock signals provided from a clock distribution network. In one such method, a single-ended clock signal is generated from differential input clock signals for distribution over a clock distribution network and from which the differential output clock signals are generated. A delay of a model delay path is matched to a propagation delay of the clock distribution network, and the single ended clock signal is adjusted to compensate for duty-cycle distortion.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 12/553,792, filed Sep. 3, 2009, U.S. Pat. No. 7,999,589. This application and patent are incorporated by reference herein in their entirety and for all purposes.

TECHNICAL FIELD

Embodiments of the invention relate generally to clock signal generators, and more particularly, clock signal generators providing duty-cycle corrected clock signals over a clock distribution network.

BACKGROUND OF THE INVENTION

Clock signals are often used in electronic circuits for timing internal operation of various circuits necessary to execute an operation. For example, in synchronous memories, external clock signals are provided to the memory and internally distributed to different circuits of the circuit to carry out memory operations. Typically, a clock distribution network is used to route internal clock signals generated from the external clock signal to the different circuits. In this manner, operation of the integrated circuit can be coordinated with the external clock signals.

When generating and routing the internal clock signals, however, maintaining the quality of the clock signals while being distributed to the various circuits can present challenges. An example of a challenge to maintaining the quality of the clock signals is generating internal clock signals while maintaining the duty-cycle of the external clock signals. The duty-cycle of a clock signal becomes distorted when the ratio of the high and low portions of a generated clock signal is different than that of the clock signal from which it is generated. Duty-cycle distortion may be process-induced, that is, the device characteristics of the clock generation circuits and clock distribution circuits can shift due to variation in the manufacturing process for the integrated circuit causing the resulting internal clock signal to be distorted. As a result of the duty-cycle distortion, when generating and distributing the internal clock signal, the various circuits receive a distorted version of the external clock signal. Due to the duty-cycle distortion, performance of the integrated circuit may be reduced, and in extreme cases, may cause the integrated circuit to function incorrectly.

Various approaches have been used to manage duty-cycle distortion in generating and distributing internal clock signals. For example, where external differential clock signals (i.e., both a clock signal and its complement) are used, the clock distribution network includes differential clock paths having separate clock paths for each of the differential clock signals. As known, using differential clock paths may reduce duty-cycle distortion in distributing internal differential clock signals to various circuits. This approach, however, consumes significant power to drive the circuitry of the differential clock path and requires considerable space to accommodate the parallel clock paths of the differential clock path.

Another example approach is to generate two internal single-ended clock signals (sometimes referenced as “pseudo-differential”) from an external differential clock signal and distribute the single-ended clock signals to be used to generate an internal differential clock signal for the various circuits. This approach also requires two separate clock paths to distribute the single-ended clock signals and suffers from the same issues as using a differential clock path, that is, significant power consumption and space for the two clock paths. Another example approach is to convert an external differential clock signal into a single-ended clock signal for distribution to the circuits. Although this approach has the benefits of using less power and requiring less space for the clock path in comparison to the previously discussed approaches, as known, distributing a single-ended clock signal and generating an internal differential clock signal from the single-ended clock signal is more susceptible to introducing duty-cycle distortion, such as that related to process-induced distortion.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example duty-cycle correction circuit.

FIG. 2 is a flow diagram of an example for correcting duty-cycle distortion.

FIGS. 3A and 3B are flow diagrams of examples for correcting duty-cycle distortion.

FIG. 4 is a block diagram of an example differential-to-single-ended clock driver.

FIG. 5A is a block diagram of an example adjustable global clock tree model.

FIG. 5B is a block diagram of an example adjustable delay circuit that may be used in the example adjustable global clock tree model of FIG. 5A.

FIG. 6 is a block diagram of a memory having a duty-cycle correction circuit according to an embodiment of the invention.

DETAILED DESCRIPTION

Certain details are set forth below to provide a sufficient understanding of embodiments of the invention. However, it will be clear to one skilled in the art that embodiments of the invention may be practiced without these particular details. Moreover, the particular embodiments of the present invention described herein are provided by way of example and should not be used to limit the scope of the invention to these particular embodiments. In other instances, well-known circuits, control signals, timing protocols, and software operations have not been shown in detail in order to avoid unnecessarily obscuring the invention.

FIG. 1 illustrates a duty-cycle correction (DCC) circuit 100 according to an embodiment of the invention and a portion of clock signal distribution network (CDN) 10. The CDN 10 includes a global clock tree circuit 20 that receives an input clock signal INCLK and distributes the INCLK signal throughout the circuit. In the embodiment of FIG. 1, the INCLK signal received by the global clock tree circuit 20 is a “single-ended” clock signal, that is, the global clock tree circuit 20 receives a clock signal but not its complementary clock signal. In contrast, both a clock signal and its complement are provided when “differential” clock signals are used. The global clock tree circuit 20 distributes the INCLK signal to local clock tree circuits and single-ended-to-differential (STD) clock driver 30 as an internal clock signal INTCLK. The local clock tree circuits and STD clock driver 30 generates differential clock signals CkR, CkF responsive to the distributed INTCLK signal. The CkR, CkF signals are typically provided to clocked circuitry, for example, clocked output data circuits, clocked input data circuits, and the like. A multi-level clock tree distribution network, as shown in FIG. 1, is used to efficiently provide the INCLK signal to various circuits located at different locations over a semiconductor die on which the integrated circuit is formed. Although two-levels of clock trees are shown in FIG. 1, other embodiments of the invention have greater or fewer levels of clock trees.

The DCC circuit 100 is coupled to the CDN 10 to provide the INCLK signal to the global clock tree circuit 20. The INCLK signal is generated by a differential-to-single-ended (DTS) clock driver 120 responsive to receiving differential input clock signal InR, InF from a differential clock receiver 110. As previously discussed, the differential clock signals, such as the InR, InF signals are complementary clock signals. The differential clock receiver 110 buffers the InR, InF signals before being provided to the DTS clock driver 120. The InR, InF, signals are further provided to a DTS clock driver 125 which generates an INCLKF signal responsive to the InR, InF signals. The INCLKF signal is complementary to the INCLK signal. In some embodiments, the DTS clock driver 120, 125 are the same in design and operation, and the INCLK and INCLKF signals are generated by reversing the InR, InF signals to the inputs of the respective DTS clock driver 120, 125. The DTS clock drivers 120, 125 have adjustable electrical characteristics that can be used to alter the INCLK, INCLKF signals. For example, in one embodiment, the DTS clock drivers 120, 125 have adjustable output drive strength controlled by a control signal DRVCTRL. The adjustable output drive strength adjusts the transition rates of clock edges of the output clock signal, for example, the transition rate of the rising edges of the output clock signal. The drive strength of the DTS clock drivers can be increased (i.e., faster slew rate, shorter clock transition time) or decreased (i.e., slower slew rate, longer clock transition time).

In addition to the DTS clock driver 120 providing the INCLK signal to the global clock tree circuit 20, the INCLK signal is provided to an adjustable global clock tree model 140. The global clock tree model 140 introduces a delay that models a propagation delay of the global clock tree circuit 20, and is additionally adjustable based on a control signal CDNCTRL to increase or decrease the delay introduced. The delayed INCLK signal is output to a local clock tree model 150, which introduces a delay that models a propagation delay of the local clock tree circuit and STD clock driver 30. Responsive to receiving the delayed INCLK signal, the local clock tree model 150 generates a feedback clock signal FbR. The INCLKF signal generated by the DTS clock driver 125 is provided through a similar set of model delays as the INCLK signal. In particular, the INCLKF signal is provided to a global clock tree model 145 that provides a delay similar to the global clock tree model 140, and is similarly adjusted by the CDNCTRL signal to increase or decrease the delay introduced. The delayed INCLKF signal is then provided to a local clock tree model 155 that introduces an additional delay that models a propagation delay of the local clock tree circuit and STD clock driver 30 to generate a feedback signal FbF. As a result of the INCLK and INCLKF signals provided through similar model delay paths, the FbR and FbF signals have the same delay relative to the INCLK and INCLKF signals, respectively.

A selection circuit 160 receives the CkR, CkF, FbR, FbF signals from the local clock tree circuit and STD clock driver 30 and the local clock tree models 150, 155. The selection circuit is controlled by DCC control logic 170 based on a control signal CTRL to selectively provide two input clock signals to a phase detector 180 for phase comparison. An example of the selection circuit 160 is a multiplexer circuit of conventional design and operation that provides two of the four input clock signals to the phase detector. As will be explained in detail below, the phase detector 180 compares the phases of the input clock signals and generates the CDNCTRL signal based at least in part thereon to adjust the delay of the global clock tree models 140, 145 to reduce and ideally eliminate a phase difference between the input clock signals. The DCC control logic 170 further controls the phase detector 180 to generate the DRVCTRL signal to adjust the DTS clock drivers 120, 125 based at least in part on a phase comparison to compensate for duty-cycle distortion.

Operation of the DCC circuit 100 according to an embodiment of the invention will be described with reference to FIG. 2. In a first phase, the delay of the model delay paths are matched to the propagation delay of the clock tree path of the CDN 10 at 210, such as by adjusting the global clock tree model 140 so that the CkR and FbR signals are synchronized. The global clock tree model 145 is adjusted to have the same delay as the global clock tree model 140. As a result, the model delay paths for the FbR and the FbF signals have the same delay. Upon detecting completion of adjusting the global clock tree models 140, 145, for example, monitoring for a stable CDNCTRL signal indicating delay adjustments are no longer made, the DCC control logic 170 controls the DCC circuit 100 to switch into a second phase. In the second phase, the DTS clock driver 125 is adjusted, for example, drive strength, until duty-cycle distortion, as represented by a phase difference between the CkF and FbF signals, is compensated at 220. The DTS clock driver 120 is adjusted in the same manner, for example, by adjusting the DTS clock driver 120 to have same drive strength as the DTS clock driver 125. In some embodiments, the DTS clock driver 125 is first adjusted to provide a stable reference signal (e.g., CkF) before similarly adjusting the DTS clock driver 120 in the same manner. As a result of adjusting the DTS clock driver 120 to have the same characteristics as the DTS clock driver 125 that resulted in matching phases of the CkF and FbF signals, the CkR signal (and the CkF signal) are duty-cycle corrected. That is, the phase relationship of corresponding clock transitions of the CkR and CkF signals (e.g., rising edges of the CkR and CkF) are 180 degrees out of phase to represent duty-cycle corrected clock signals. In effect, where the corresponding clock transitions are used to clock respective circuits, for example, data output drivers, the respective circuits will operate as if clocked by a clock signal having a 50 percent duty cycle. The INCLK signal generated by the DTS clock driver 120 that is input to the clock tree network of the global clock tree 20, and local clock tree and STD clock driver 30, and used to generate the CkR, CkF signals, compensates for process induced duty-cycle distortion, for example, introduced by propagating a clock signal through the CDN 10. In some embodiments, the circuits of the DCC circuit 100 are disabled after completion of phases one and two in order to reduce power consumption. In some embodiments, the DCC circuit 100 remains activated, or is activated periodically to correct duty-cycle distortion.

FIG. 3A illustrates a process 300 for matching the delay of the model delay path to the propagation delay of the clock tree path of the CDN 10 according to an embodiment of the invention. The DCC control logic 170 controls the selection circuit 160 to provide the CkR and FbR signals to the phase detector 180 for phase comparison at 310. The phase detector 180 generates the CDNCNTRL signal to adjust the adjustable delay of the global clock tree model 140 at 320 based at least in part on the comparison. Steps 310, 320 are repeated until the CkR and FbR signals are synchronized at 330. For example, where the CkR signal leads the FbR signal, the delay of the global clock tree model 140 is decreased to advance the phase of the FbR signal relative to the CkR signal until the signals are in phase. Conversely, where the CkR signal lags the FbR signal, the delay of the global clock tree model 140 is increased to retard the phase of the FbR signal relative to the CkR signal until the signals are in phase. When the global clock tree model 140 is adjusted to provide the delay to synchronize the CkR, FbR signals, the delay of the global clock tree model 145 is adjusted to provide the same delay. As a result, the delay of the model delay path for the FbR signal and the delay of the model delay path for the FbF signals are matched. In some embodiments, the adjustable delay of the global clock tree model 140 is a digital delay that is adjusted using digital values provided by the phase detector 180 as the CDNCTRL signal. The global clock tree model 145 may have the same design as the global clock tree model 140 and the delays matched by providing the same CDNCTRL signal (i.e., digital value) to the global clock tree model 145. In other embodiments, different types of adjustable delays and delay control may be used.

FIG. 3B illustrates a process 350 for adjusting the DTS clock driver 120 to compensate for process induced duty-cycle distortion according to an embodiment of the invention. The DCC control logic 170 controls the selection circuit 160 to provide the CkF and FbF signals to the phase detector 180 for phase comparison at 360. The phase detector 180 generates the DRVCTRL signal to adjust the DTS clock driver 125 based at least in part on the phase comparison, and similarly adjusts DTS clock driver 120 (e.g., using the same DRVCTRL signal) at 370. Steps 360, 370 are repeated until the phase detector 180 detects synchronization of the CkF and FbF signals at 380. In some embodiments, the DTS clock driver 125 is initially adjusted until the phase detector 180 detects synchronization of the CkF and FbF signals before then similarly adjusting the DTS clock driver 120. For example, in an embodiment having DTS clock drivers 120, 125 with adjustable output drive strength, the slew rate of the INCLKF signal is adjusted until the phase detector 180 detects synchronization of the FbF signal with the CkF signal. Adjusting the slew rate of the INCLKF and INCLK signals can compensate for duty-cycle distortion. For example, where the distortion decreases the duty cycle (e.g., the time the clock signal is HIGH is less than 50 percent), the drive strengths of the DTS clock drivers 120, 125 can be decreased to compensate by providing a lower slew rate. Conversely, where the distortion increases the duty cycle (e.g., the time the clock signal is HIGH is greater than 50 percent), the drive strengths of the DTS clock drivers 120, 125 can be increased to compensate by providing a higher slew rate. In other embodiments, the DTS clock drivers 120, 125 have adjustable characteristics other than adjustable drive strengths, for example, an adjustable propagation delay.

FIG. 4 illustrates a DTS clock driver 400 having adjustable drive strength according to an embodiment of the invention. The DTS clock driver 400 includes a DTS clock driver stage 410 that receives differential input clock signals DCLKR, DCLKF, and in response, generates a single-ended clock signal SCLK. The SCLK signal is provided to an inverter 420 that inverts the SCLK signal to be provided to an adjustable inverter circuit 430. The adjustable inverter circuit 430 inverts the signal from the inverter 420 and drives a single-ended output signal SCLKOUT. The adjustable inverter circuit 430 includes an inverter stage 440(0) and a plurality of pull-up and pull-down transistors 440(1)-(6). Although six pull-up and pull-down transistors 440(1)-(6) are illustrated in FIG. 4, greater or fewer pull-up and pull-down transistors can be used as well. Each of the pull-up and pull-down transistors 440(1)-(6) can be selectively coupled to the output of the DTS clock driver 400 to increase drive strength of the adjustable inverter circuit 430, and as a result, increase the drive strength of DTS clock driver 400. The pull-up and pull-down transistors 440(1)-(6) may be coupled to the output independently. Coupling of the pull-up and pull-down transistors 440(1)-(6) is controlled by a control signal, for example, DRVCTRL. The pull-up and pull-down transistors 440(1)-(6) may be identical, or have different drive characteristics. In some embodiments, the DTS clock driver 410 is additionally adjustable to adjust a duty cycle of the SCLK signal provided to the inverter 420 to add flexibility in adjusting the duty cycle of the SCLKOUT signal.

FIG. 5A illustrates a global clock tree model 500 according to an embodiment of the invention. The global clock tree model 500 includes a delay circuit 510 and an adjustable delay circuit 520 coupled in series. An input clock signal INCLK applied to the global clock tree model 500 will be delayed by the total delay of the delay circuit 510 and the adjustable delay circuit 520 to provide an output clock signal OUTCLK. The adjustable delay circuit 520 has an adjustable delay that is set based on a control signal (or signals) SEL, SELF. FIG. 5B illustrates an adjustable delay circuit 550. The adjustable delay circuit 500 includes series coupled inverters 560, 562 to generate the OUTCLK signal responsive to the INCLK signal. Impedance circuits 570, 572 coupled to the outputs of the inverters 560, 562 can be used to selectively increase the loading at the outputs thereby providing a delay to the DELCLK signal. Which of the impedance circuits 570, 572 will be used to increase the loading of the outputs of the inverters 560, 562 is controlled by the SEL, SELF signals, for example, the control signal CDNCTRL from the DCC control logic 170 (FIG. 1). The impedance circuits 570, 572 are shown in FIG. 5B as capacitance coupled to the outputs of the inverters 560, 562. The capacitances may have different capacitance characteristics, or alternatively, have the same capacitance characteristics. Types of impedance circuits other than capacitors may be used as well. The adjustable delay circuit 550 further includes secondary inverters 580 that are activated by the SEL, SELF signals. The drive characteristics of the secondary inverters 580 may be different than those of the inverters 560, 562 in order to reduce the overall drive capability of the adjustable delay circuit 500, thereby adding delay to the DELCLK signal in generating the OUTCLK signal. The SEL, SELF signals are shown in FIG. 5B as a three-bit value, with each bit controlling a respective impedance circuit 570, 572 or secondary inverter 580. It will be appreciated, however, that fewer or greater impedance circuits and/or inverters and secondary inverters may be used with corresponding control signals without departing from the scope of the invention.

FIG. 6 illustrates a portion of a memory 600 according to an embodiment of the present invention. The memory 600 includes an array 602 of memory cells, which may be, for example, DRAM memory cells, SRAM memory cells, flash memory cells, or some other types of memory cells. The memory 600 includes a command decoder 606 that receives memory commands through a command bus 608 and generates corresponding control signals within the memory 600 to carry out various memory operations. A clock receiver and differential-to-single-ended clock driver 612 receives a differential input clock signals CLKR, CLKF and generates a single-ended input clock signal INCLK. The INCLK signal is provided to a global clock tree 632 for distribution of the INCLK to various circuits of the memory 600 as the internal clock signal INTCLK.

Row and column address signals are applied to the memory 600 through an address bus 620 and provided to an address latch 610. The address latch then outputs a separate column address and a separate row address. The row and column addresses are provided by the address latch 610 to a row address decoder 622 and a column address decoder 628, respectively. The column address decoder 628 selects bit lines extending through the array 602 corresponding to respective column addresses. The row address decoder 622 is connected to word line driver 624 that activates respective rows of memory cells in the array 602 corresponding to received row addresses.

The selected data line (e.g., a bit line or bit lines) corresponding to a received column address are coupled to a read/write circuitry 630 to provide read data to a data output buffer 634 via an input-output data bus 640. Write data are applied to the memory array 602 through a data input buffer 644 and the memory array read/write circuitry 630. The data input buffer 644 is clocked by differential clock signals CkR, CkF provided by the local clock tree and single-ended-to-differential (STD) clock driver 642. The CkR, CkF signals are generated based at least in part on the INTCLK signal provided to the local clock tree and STD clock driver 642 from the global clock tree 632. The CkR, CkF signals are provided to a DCC circuit 638 that generates a driver control signal DRVCTRL. The DRVCTRL signal is used to adjust a clock driver in the clock receiver and differential-to-single-ended clock driver 612 to compensate for process induced duty-cycle distortion, thereby correcting the duty-cycle of the CkR, CkF signals. The command decoder 606 responds to memory commands applied to the command bus 608 to perform various operations on the memory array 602. In particular, the command decoder 606 is used to generate internal control signals to read data from and write data to the memory array 602.

From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except as by the appended claims. 

1. A duty-cycle corrector, comprising: a phase detector configured in a first mode to receive a first output signal and a first feedback signal and provide a first control signal based, at least in part, on a phase difference between the first output signal and the first feedback signal, wherein the phase detector is further configured in a second mode to receive a second output signal and a second feedback signal and provide a second control signal based, at least in part, on a phase difference between the second output signal and the second feedback signal; a delay element coupled to the phase detector, wherein the delay element is configured to delay an input signal to generate at least one of the first or second feedback signal, wherein the delay element is configured to receive the first control signal and provide a delay based, at least in part, on the first control signal; and a signal driver coupled to the delay element and the phase detector, wherein the signal driver is configured to receive a differential input signal and generate the input signal, wherein the input signal is a single-ended input signal, wherein the signal driver is further configured to receive the second control signal and generate the single-ended input signal based, at least in part, on the second control signal.
 2. The duty-cycle corrector of claim 1, wherein the second output signal is a complement of the first output signal.
 3. The duty-cycle corrector of claim 1, further comprising: control logic coupled to the phase detector and configured to control the phase detector based, at least in part, on at least one of the phase difference between the first output signal and the first feedback signal, the phase difference between the second output signal and the second feedback signal, or a combination thereof.
 4. The duty-cycle corrector of claim 1, wherein the second control signal is indicative of a drive strength.
 5. The duty-cycle corrector of claim 1, wherein the delay element is configured to model the propagation delay of a global clock tree circuit.
 6. The duty-cycle corrector of claim 1, further comprising: a selection circuit coupled to the phase detector and configured to receive the first and second feedback signals and the first and second output signals, the selection circuit further configured to selectively couple the at least one of the first feedback signal, second feedback signal, first output signal, or second output signal to the phase detector based, at least in part, on a third control signal.
 7. The duty-cycle corrector of claim 6, wherein the selection circuit is further configured to provide at least one of the first feedback signal or second feedback signal and at least one of the first output signal or second output signal to the phase detector simultaneously.
 8. The duty-cycle corrector of claim 1, wherein the delay element comprises a plurality of impedance circuits, each of the impedance circuits configured to delay the input signal an amount responsive, at least in part, to receipt of respective select signals.
 9. A duty-cycle corrector, comprising: a driver configured to receive a differential signal and generate a single-ended input signal based, at least in part, on a first control signal; a global clock tree coupled to the driver and configured to receive the single-ended input signal, the global clock tree further configured to delay the single-ended input signal a first amount to provide a delayed input signal, wherein the first amount is based, at least in part, on a second control signal; a local clock tree coupled to the global clock tree and configured to receive the delayed input signal, the local clock tree further configured to delay the delayed input signal a second amount to provide at least one of a first or second feedback signal; and a phase detector coupled to the local clock tree, the phase detector configured to receive the first feedback signal and provide the first control signal based, at least in part, on the phase difference between a first output signal and the first feedback signal, the phase detector further configured to receive the second feedback signal and provide the second control signal based, at least in part, on the second feedback signal and a second clock signal.
 10. The duty-cycle corrector of claim 9, wherein the first control signal is indicative of a drive strength.
 11. The duty-cycle corrector of claim 9, wherein the first amount of delay is based, at least in part, on a plurality of select signals.
 12. The duty-cycle corrector of claim 9, wherein the second amount of delay is based, at least in part, on the propagation delay of at least one of a local clock tree model, a clock driver, or a combination thereof.
 13. The duty-cycle corrector of claim 9, wherein the first and second output signals comprise a differential clock signal.
 14. A method comprising: generating a single-ended signal from differential signals for distribution over a clock distribution network; adjusting a delay of a model delay path based, at least in part, on, a propagation delay of the clock distribution network; and adjusting the single-ended signal based, at least in part, on a duty-cycle distortion, by adjusting transition rates of a clock edge for the single-ended clock signal.
 15. The method of claim 14, further comprising: generating a differential signal from the adjusted single-ended signal.
 16. The method of claim 14, wherein said adjust a delay of a model delay path, comprises: synchronizing an output clock signal and a feedback clock signal based, at least in part, on a control signal.
 17. The method of claim 14, wherein said adjusting the single-ended signal, comprises: adjusting a first clock driver based, at least in part, on the duty-cycle distortion; providing a reference signal; and adjusting a second clock driver based, at least in part, on the duty-cycle distortion.
 18. The method of claim 14, further comprising: after said adjusting the single-ended signal, disabling a duty cycle correction circuit.
 19. The method of claim 14, wherein said adjusting a delay of a model delay path, comprises: monitoring delay adjustments of a control signal.
 20. The method of claim 14, further comprising: after said adjusting a delay of a model delay path, switching a duty cycle correction circuit from a first phase to a second phase based, at least in part, on control logic. 